import axios from 'axios';

// 特殊接口获取状态
async function getOrderDetail(params) {
  let obj = {
    success: false,
    errorMsg: "",
    result: []
  }
  return new Promise((resolve) => {
    axios.post("/api/isv/ticketPurchaseMob/queryTicketOrderByOrderId", {
      ...params
    }).then(res => {
      obj = res.data;
      resolve(obj);
    }, err => {
      resolve(obj);
    })
  });
}

export {
  getOrderDetail
}
